﻿using System.Text.RegularExpressions;

namespace KWatkins.FluentMoqBuilder.Argument
{	
	/// <summary>
	/// Validates a not null or empty string argument.
	/// </summary>
	internal interface IStringNotEmpty
	{
		/// <summary>
		/// Validates whether the argument is a match for the specified <see cref="Regex" />.
		/// </summary>
		/// <param name="regex">The regex.</param>
		/// <returns>A <see cref="IStringNotEmpty" /> to continue validation.</returns>
		IStringNotEmpty IsMatch(Regex regex);
	}
}
